@charset 'UTF-8';

.admin-controller {
    > div {
        height: 100%;
    }

    .inner-wrap {
        position: absolute;
        width: 100%;
    }

    .row {
        margin: 0;
    }

    h3 {
        border-bottom: 1px solid #ddd;
        font-weight: 600;
        margin: 1em 0;
        padding-bottom: .5em;
    }

    .table {
        background: $white;
    }

    .form-control {
        background-color: $white;
        border: 1px solid #ccc;
        color: #555;

        &:focus {
            @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6));
            border-color: #66afe9;
            outline: 0;
        }
    }

    .btn {
        color: #333;

        &.btn-primary {
            background: $primary-color;

            &:hover,
            &:focus,
            &:active {
                background: #1c6dab;
            }
        }
    }

    .dropdown-menu {
        background: $white;
        border: 1px solid rgba(0,0,0,.15);
        color: inherit;
    }

    .sidebar--left {
        &.sidebar--collapsable {
            background: #333;

            .team__header {
                background: transparent;
                margin-bottom: 5px;
            }

            .nav {
                li {
                    padding: 0;
                    @include opacity(1);

                    .icon {
                        width: 17px;
                    }

                    > a {
                        &:hover,
                        &.active,
                        &:focus {
                            background-color: #eaeaea;
                        }
                    }

                    > h4 {
                        background: #333;
                        margin: 1px 0 0;
                        padding: 10px;

                        .menu-icon--right {
                            right: 12px;
                            top: 6px;
                        }
                    }
                }

                .menu-icon--right {
                    font-size: 18px;
                    font-weight: 600;
                    height: 20px;
                    line-height: 20px;
                    position: absolute;
                    right: 10px;
                    text-align: center;
                    top: 3px;
                    width: 20px;

                    .fa {
                        color: $white;
                        font-size: 13px;
                        position: relative;
                        right: -2px;
                    }
                }

                &.nav__sub-menu {
                    @include font-smoothing(initial);
                    background: #111;

                    &.padded {
                        padding: 5px 0;
                    }

                    li {
                        > a {
                            background: transparent;
                            color: #bbb;
                            font-size: 13px;
                            padding: 5px 35px 5px 15px;

                            &:hover {
                                color: lighten($primary-color, 10);
                            }

                            &.active {
                                color: $white;
                                font-weight: 600;
                            }
                        }

                        .nav-more {
                            background: transparent;
                            color: #bbb;
                            cursor: pointer;
                            display: block;
                            font-size: 13px;
                            padding: 5px 15px;

                            &:hover {
                                color: lighten($primary-color, 10);
                            }
                        }
                    }
                }

                &.nav__inner-menu {
                    li {
                        > a {
                            padding-left: 20px;
                        }
                    }
                }
            }
        }
    }

    .log__panel {
        background-color: white;
        border: 1px solid #ddd;
        height: 800px;
        margin-top: 10px;
        overflow: scroll;
        padding: 5px;
        width: 100%;
    }

    .compliance__panel {
        overflow: scroll;
        width: 100%;
        height: 400px;
        border: 1px solid #ddd;
        margin-top: 10px;
        padding: 5px;
        background-color: white;
    }

    .audit__panel {
        overflow: scroll;
        width: 100%;
        height: 400px;
        border: 1px solid #ddd;
        margin-top: 10px;
        padding: 5px;
        background-color: white;
    }

    .app__content {
        color: #333;

        &.admin {
            background-color: #f1f1f1;
            min-height: 600px;
            overflow: auto;
            padding: 0 20px 20px;
        }

        .wrapper--fixed {
            max-width: 800px;
        }

        .form-horizontal {
            margin-top: 40px;

            .control-label {
                font-weight: 600;
                padding-right: 0;
                text-align: left;
            }

            .form-group {
                margin-bottom: 25px;
            }

            .file__upload {
                display: inline-block;
                margin: 0 10px 10px 0;
                position: relative;

                input {
                    @include opacity(0);
                    height: 100%;
                    left: 0;
                    position: absolute;
                    top: 0;
                    width: 100%;
                    z-index: 5;
                }
            }

            .help-text {
                color: #777;
                margin: 10px 0 0 15px;

                &.no-margin {
                    margin: 0;
                }

                ul,
                ol {
                    padding-left: 23px;
                }

                .help-link {
                    margin-right: 5px;
                }

                .btn {
                    font-size: 13px;
                }
            }

            .alert {
                display: inline-block;
                margin: 1em 0 0;
                padding: 5px 7px;
                position: relative;
                top: 1px;

                .fa {
                    margin-right: 5px;
                }
            }
        }

        .banner {
            background: $white;
            border: 1px solid #ddd;
            font-size: .95em;
            margin: 2em 0;
            padding: .7em 1.5em;

            .banner__heading {
                font-size: 1.5em;
            }

            .banner__content {
                width: 80%;
            }

            &.warning {
                background: #e60000;
            }
        }

        .popover {
            border-radius: 3px;
            font-size: .95em;
            width: 100%;
        }

        .panel {
            background-color: transparent;
            border: none;
        }

        .panel-default {
            > .panel-heading {
                background-color: transparent;
                padding: 10px 0;
            }

            .panel-body {
                padding: 30px 0 10px;
            }
        }

        .panel-group {
            margin-bottom: 50px;
        }

        .panel-title {
            font-size: 24px;
            line-height: 1.5;

            a {
                @include clearfix;
                display: block;
                text-decoration: none;

                &.collapsed {
                    .fa-minus {
                        display: none;
                    }

                    .fa-plus {
                        display: inline-block;
                    }
                }

                .fa {
                    color: #aaa;
                    float: right;
                    font-size: 18px;
                    margin-top: 8px;
                }

                .fa-plus {
                    display: none;
                }
            }
        }
    }

    .member-list-holder {
        .member-role,
        .member-drop {
            position: absolute;
            right: 15px;
            top: 8px;
        }
    }
}
